package com.abner.design.patterns.responsibilitychain;


/**
 * 购买请求
 * @author abner
 */
public class PurchaseRequest {

	/**
	 * 类型
	 */
	private int type = 0;

	/**
	 * 价格
	 */
	private float price = 0.0f;

	/**
	 * id
	 */
	private int id = 0;

	public PurchaseRequest(int type, float price, int id) {
		this.type = type;
		this.price = price;
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public float getPrice() {
		return price;
	}

	public int getId() {
		return id;
	}

}
